home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000226_fdc@columbia.edu_Fri Jul 19 09:26:28 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
2KB
|
44 lines
Article: 13538 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: HELP!!!! How do you automate a kermit script?
Date: 19 Jul 2002 09:26:20 -0400
Organization: Columbia University
Lines: 27
Message-ID: <ah941s$e43$1@watsol.cc.columbia.edu>
References: <b85d456a.0207190400.324a0317@posting.google.com>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1027085182 16071 128.59.39.139 (19 Jul 2002 13:26:22 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 19 Jul 2002 13:26:22 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13538
In article <b85d456a.0207190400.324a0317@posting.google.com>,
ruvena <ruvenakiash@hotmail.com> wrote:
: I am trying to run a kermit script that will download data from a
: remote site automatically based on the time of day on the system
: clock.
:
: What do you do to be able to automate the .ksc file so that it will
: run at a certain time every day?
:
You can do it outside of Kermit or inside. How you do it outside
depends on the operating system. In Unix, you would use a cron or at
job. In VMS, the batch system lets you run jobs at specified times.
Some versions of Windows might have something for this but I'm not
familiar with them.
To do it inside Kermit, use the PAUSE command in your script:
Syntax: PAUSE [ { number-of-seconds, hh:mm:ss } ]
Example: PAUSE 3 or PAUSE 14:52:30
Do nothing for the specified number of seconds or until the given time of
day in 24-hour hh:mm:ss notation. If the time of day is earlier than the
current time, it is assumed to be tomorrow. If no argument given, one
second is used. The pause can be interrupted by typing any character on
the keyboard unless SLEEP CANCELLATION is OFF. If interrupted, PAUSE
fails, otherwise it succeeds. Synonym: SLEEP.
- Frank